import request from '@/config/axios'



//学校管理列表
export const schoolList = (params) => {
    return request.get({ url: '/school/index', params })
}


//添加学校
export const schoolInsert = (data) => {
    return request.post({ url: '/school/add', data })
}


//修改学校
export const schoolUpdate = (data) => {
    return request.post({ url: '/school/edit', data })
}

//删除学校
export const schoolDelete = (data) => {
    return request.post({ url: '/school/del', data })
}

//项目详情
export const projectInfo = (params) => {
    return request.get({ url: '/project/info', params })
}

//获取项目主管列表
export const manageList = (params) => {
    return request.get({ url: '/project/manage-list', params })
}

//获取招生老师列表
export const memberList = (params) => {
    return request.get({ url: '/project/member-list', params })
}

//获取申报学历列表
export const eduList = (params) => {
    return request.get({ url: '/project/edu-value', params })
}


//新增项目
export const projectInsert = (data) => {
    return request.post({ url: '/project/add', data })
}


//修改项目
export const projectUpdate = (data) => {
    return request.post({ url: '/project/update', data })
}

//删除项目
export const projectDel = (data) => {
    return request.post({ url: '/project/del', data })
}

